﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="kecheng_new.aspx.cs" Inherits="kecheng_new" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>无标题页</title>
</head>
<body>
    <form id="form1" runat="server">  
    <table width="872" height="100%" border="0" cellpadding="0" cellspacing="0" class="font33">
        <tr>
            <td colspan="2" valign="top">            &nbsp;
                <asp:Label ID="Label9" runat="server" Text="学习对象"></asp:Label>
                <asp:DropDownList ID="DropDownList2" runat="server" DataSourceID="SqlDataSource2"
                    DataTextField="value" DataValueField="value">
                </asp:DropDownList>
                <asp:Label ID="Label10" runat="server" Text="课程分类" Visible="False"></asp:Label>
                <asp:DropDownList ID="DropDownList3" runat="server" DataSourceID="SqlDataSource3"
                    DataTextField="value" DataValueField="value" AutoPostBack="True" Visible="False">
                </asp:DropDownList><asp:Label ID="Label8" runat="server" Text="作用分类" Visible="False"></asp:Label><asp:DropDownList ID="DropDownList1" runat="server" DataSourceID="SqlDataSource1"
                    DataTextField="value" DataValueField="value" Visible="False">
                </asp:DropDownList><br />
                <br />
                课程类型：<asp:DropDownList ID="dpllx" runat="server" AutoPostBack="True" Width="109px" OnSelectedIndexChanged="dpllx_SelectedIndexChanged">
                    <asp:ListItem Selected="True">培训课程</asp:ListItem>
                    <asp:ListItem>探讨课程</asp:ListItem>
                    <asp:ListItem>免费课程</asp:ListItem>
                </asp:DropDownList><br />
                <br />
                发布状态：<asp:DropDownList ID="DplFB" runat="server" AutoPostBack="True" Width="109px">
                    <asp:ListItem Selected="True">内部课程</asp:ListItem>
                    <asp:ListItem>公开课程</asp:ListItem>
                </asp:DropDownList><br />
                <br />
                <asp:Label ID="Label1" runat="server" Text="课程名称：" Width="75px" Height="20px"></asp:Label>
                &nbsp;
                <br />
                <asp:TextBox ID="TextBox1" runat="server" Width="606px"></asp:TextBox><br />
                <asp:Label ID="Label2" runat="server" Text="课程简介：" Width="75px" Height="22px"></asp:Label>
                <br />
                <asp:TextBox ID="TextBox2" runat="server" Height="187px" Width="615px" TextMode="MultiLine"></asp:TextBox><br />
                &nbsp;&nbsp;
                <asp:Label ID="Label3" runat="server" Text="机构："></asp:Label>
                <asp:TextBox ID="txtJigou" runat="server"></asp:TextBox>&nbsp;&nbsp; &nbsp;&nbsp;
                <asp:Label ID="Label5" runat="server" Height="20px" Text="老师：" Width="44px"></asp:Label>&nbsp;
                <asp:DropDownList ID="DropDownList5" runat="server" DataSourceID="SqlDataSource4"
                    DataTextField="username1" DataValueField="username" Width="91px">
                </asp:DropDownList>
                <asp:Label ID="Label4" runat="server" Text="学费："></asp:Label><asp:TextBox ID="txtxuefei"
                    runat="server" Width="48px"></asp:TextBox><br />
                <asp:Button ID="Button1" runat="server" Text="提交（C）" Width="99px" OnClick="Button1_Click" />
                <asp:Label ID="Label6" runat="server" Text="提交状态：" Width="75px"></asp:Label>
                <asp:Label ID="Label7" runat="server" Text="未提交" Width="178px"></asp:Label><br />
                <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:gConnectionString %>"
                    SelectCommand="SELECT * FROM [nzd] WHERE ([type] = @type)">
                    <SelectParameters>
                        <asp:Parameter DefaultValue="专业分类1" Name="type" Type="String" />
                    </SelectParameters>
                </asp:SqlDataSource>
                &nbsp; &nbsp;
                <asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:gConnectionString %>"
                    SelectCommand="SELECT * FROM [nzd] WHERE ([type] = @type)">
                    <SelectParameters>
                        <asp:Parameter DefaultValue="专业分类2" Name="type" Type="String" />
                    </SelectParameters>
                </asp:SqlDataSource>
                <asp:SqlDataSource ID="SqlDataSource3" runat="server" ConnectionString="<%$ ConnectionStrings:gConnectionString %>"
                    SelectCommand="SELECT * FROM [nzd] WHERE ([type] = @type)">
                    <SelectParameters>
                        <asp:Parameter DefaultValue="专业分类3" Name="type" Type="String" />
                    </SelectParameters>
                </asp:SqlDataSource>
                <br />
                <asp:SqlDataSource ID="SqlDataSource4" runat="server" ConnectionString="<%$ ConnectionStrings:gConnectionString %>"
                    SelectCommand="SELECT [username], [username1] FROM [account] WHERE (([role] = @role) AND ([jigou] = @jigou))">
                    <SelectParameters>
                        <asp:Parameter DefaultValue="老师" Name="role" Type="String" />
                        <asp:ControlParameter ControlID="txtJigou" Name="jigou" PropertyName="Text" Type="String" />
                    </SelectParameters>
                </asp:SqlDataSource>               
                 </td>
        </tr>
       
    </table>
</form>
</body>
</html>